package com.tiancheng.trade.order.util;

import cn.dev33.satoken.stp.StpUtil;

/**
 * @Author: likailun
 * @Description:
 * @Date: create in 2024/10/18 16:19
 */
public class SecurityUtils {
    /**
     * 获取登录用户的id
     *
     * @return 用户id
     */
    public static String getLoginUserId() {
        return StpUtil.getLoginId().toString();
    }
}
